package com.sailfish.springbootdemo.pojo.db4;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Operate {

    private Integer operateId;
    private Integer operateBigType;
    private Integer operatorId;
    private String operateSmallType;
    private Integer operateDataType;
    private Integer operateDataTypeNotes;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operateTime;
    private String beforeData;
    private String afterData;
    private String nickNameCn;

    private User operator;

    public Operate() {
    }

    public Operate(Integer operateBigType, Integer operatorId, String operateSmallType, Integer operateDataType, Integer operateDataTypeNotes, Date operateTime, String beforeData, String afterData) {
        this.operateBigType = operateBigType;
        this.operatorId = operatorId;
        this.operateSmallType = operateSmallType;
        this.operateDataType = operateDataType;
        this.operateDataTypeNotes = operateDataTypeNotes;
        this.operateTime = operateTime;
        this.beforeData = beforeData;
        this.afterData = afterData;
    }

    public Integer getOperateId() {
        return operateId;
    }

    public void setOperateId(Integer operateId) {
        this.operateId = operateId;
    }

    public Integer getOperateBigType() {
        return operateBigType;
    }

    public void setOperateBigType(Integer operateBigType) {
        this.operateBigType = operateBigType;
    }

    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperateSmallType() {
        return operateSmallType;
    }

    public void setOperateSmallType(String operateSmallType) {
        this.operateSmallType = operateSmallType;
    }

    public Integer getOperateDataType() {
        return operateDataType;
    }

    public void setOperateDataType(Integer operateDataType) {
        this.operateDataType = operateDataType;
    }

    public Integer getOperateDataTypeNotes() {
        return operateDataTypeNotes;
    }

    public void setOperateDataTypeNotes(Integer operateDataTypeNotes) {
        this.operateDataTypeNotes = operateDataTypeNotes;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public String getBeforeData() {
        return beforeData;
    }

    public void setBeforeData(String beforeData) {
        this.beforeData = beforeData;
    }

    public String getAfterData() {
        return afterData;
    }

    public void setAfterData(String afterData) {
        this.afterData = afterData;
    }

    public User getOperator() {
        return operator;
    }

    public void setOperator(User operator) {
        this.operator = operator;
    }

    public String getNickNameCn() {
        return nickNameCn;
    }

    public void setNickNameCn(String nickNameCn) {
        this.nickNameCn = nickNameCn;
    }
}
